// @coding: utf8

#include <memory>
#include <boost/asio.hpp>

class NetEventLoop : std::enable_shared_from_this<NetEventLoop>
{
public:
    NetEventLoop();

    void start();
    void stop();

protected:
    boost::asio::io_service _io_service;
    std::shared_ptr<boost::asio::io_service::work> _work_ptr;
};